Hello im having trouble generating a variable from various variables that are mutualy inclusive.
I need to generate the variable 'diagnosis'
For this varible i need 3 criteria
*Note whichever combination of 2 of the 6 past items must be to be included. This is the part in which im having trouble generating.
Can someone help with some ideas?
I need to generate the variable 'diagnosis'
For this varible i need 3 criteria
1. variable q60==1
2. varibale ibs_dx==2
3. 2 of the next variables must be truth
-q49>=4
-q51>=4
-q52>=4
-q53>=4
-q54>=4
-q55>=4
2. varibale ibs_dx==2
3. 2 of the next variables must be truth
-q49>=4
-q51>=4
-q52>=4
-q53>=4
-q54>=4
-q55>=4
Can someone help with some ideas?
Comment